package com.mdd.admin.service;

import com.mdd.admin.validate.commons.PageValidate;
import com.mdd.admin.validate.ClientCrmProjetDetailTypeCreateValidate;
import com.mdd.admin.validate.ClientCrmProjetDetailTypeUpdateValidate;
import com.mdd.admin.validate.ClientCrmProjetDetailTypeSearchValidate;
import com.mdd.admin.vo.ClientCrmProjetDetailTypeListedVo;
import com.mdd.admin.vo.ClientCrmProjetDetailTypeDetailVo;
import com.mdd.common.core.PageResult;

/**
 * 项目政策关联申报条件服务接口类
 * @author LikeAdmin
 */
public interface IClientCrmProjetDetailTypeService {

    /**
     * 项目政策关联申报条件列表
     *
     * @author LikeAdmin
     * @param pageValidate 分页参数
     * @param searchValidate 搜索参数
     * @return PageResult<ClientCrmProjetDetailTypeListedVo>
     */
    PageResult<ClientCrmProjetDetailTypeListedVo> list(PageValidate pageValidate, ClientCrmProjetDetailTypeSearchValidate searchValidate);

    /**
     * 项目政策关联申报条件详情
     *
     * @author LikeAdmin
     * @param id 主键ID
     * @return ClientCrmProjetDetailTypeDetailVo
     */
    ClientCrmProjetDetailTypeDetailVo detail(Integer id);

    /**
     * 项目政策关联申报条件新增
     *
     * @author LikeAdmin
     * @param createValidate 参数
     */
    void add(ClientCrmProjetDetailTypeCreateValidate createValidate);

    /**
     * 项目政策关联申报条件批量新增
     *
     * @author LikeAdmin
     * @param createValidate 参数
     */
    void addList(ClientCrmProjetDetailTypeCreateValidate createValidate);

    /**
     * 项目政策关联申报条件编辑
     *
     * @author LikeAdmin
     * @param updateValidate 参数
     */
    void edit(ClientCrmProjetDetailTypeUpdateValidate updateValidate);

    /**
     * 项目政策关联申报条件删除
     *
     * @author LikeAdmin
     * @param id 主键ID
     */
    void del(Integer id);

}
